package cn.com.yx.ms.persistence;

import cn.com.yx.ms.domain.dbmodel.MqConfig;
import cn.com.yx.ms.domain.mq.MqConfigQueueModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MqConfigMapper {
    int deleteByPrimaryKey(String guid);

    int insert(MqConfig record);

    int insertSelective(MqConfig record);

    MqConfig selectByPrimaryKey(String guid);

    int updateByPrimaryKeySelective(MqConfig record);

    int updateByPrimaryKey(MqConfig record);

    List<MqConfigQueueModel> GetMqConfigQueues();

    MqConfig findOne(@Param("cmd")String cmd, @Param("type")String type);
}